package com.lz.entity;
/**
 * a..
 *
 * @author Lizhong
 * @date 2020/5/7
 */
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="dept")
public @Data class Dept {

    @Id
    @Column(name="deptno")
    private Long deptno;

    @Column(name="dname")
    private String dname;

    @Column(name="loc")
    private String loc;
}
